package com.css.fxfzxczh.modules.disasterSituationDataManage.emergencyReport.repository;

import com.css.fxfzxczh.modules.disasterSituationDataManage.emergencyReport.entity.EmergencyReport;
import com.css.fxfzxczh.modules.disasterSituationDataManage.emergencyReport.param.EmergencyReportParam;

import java.util.List;
import java.util.Map;

public interface EmergencyReportRepository {
    Map<String, Object> getPage(EmergencyReportParam queParams, int curPage, int pageSize);

    List<EmergencyReport> queryByParam(EmergencyReportParam param);

    EmergencyReport findById(String id);

    void save(EmergencyReport param);

    void submit(String id);

    void updateXsemId(String xsemId, String convertedXsemId);

    void update(EmergencyReport emergencyReport);

    void batchDelete(List<String> id);

    String getCode(String code);
}
